﻿<%@ include file="/WEB-INF/views/jsp/common/taglibs.jsp" %>
<head>
    <title>${site}网购平台</title>
    <%@ include file="/WEB-INF/views/jsp/common/meta.jsp" %>
    <%@ include file="/WEB-INF/views/jsp/common/link.jsp" %>
    <link rel="stylesheet" type="text/css" href="${ctx}/static/pc/css/base.css?1607170150.25"/>
    <link rel="stylesheet" type="text/css" href="${ctx}/static/pc/css/page/welcome.css?1607170150.25"/>
    <link rel="stylesheet" type="text/css" href="${ctx}/static/lib/chosen/chosen.min.css"/>
    <link rel="stylesheet" type="text/css" href="${ctx}/static/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="${ctx}/static/css/approve.css"/>
    <style type="text/css">
        .chosen-container-single .chosen-drop {
            margin-top: 0px;
        }

        input.search[type=text] {
            font-size: 14px;
            padding: 12px 0px 12px 35px !important;
            color: #666 !important;
            height: 14px !important;
            line-height: 14px !important;
            box-sizing: content-box;
        }

        input.search[type=text]:focus {
            border: 1px solid #2ea7e0 !important;
            padding: 12px 0px 12px 35px !important;
        }

        .divStyle {
            display: inline-block;
            vertical-align: middle;
        }
    </style>
</head>
<body>
<div class="approveContainer CApproveContainer">
<div class="main inner">
<div class="PApprove_content">
<div class="line">
    <div class="line_bg"></div>
    <div class="line_left"></div>
    <div class="line_right"></div>
</div>

<div class="choose_Identity">
<div class="topMenu" id="errorMsg" style="border: 1px solid #fede4c;display:none;color:red; background-color: #fff;">

</div>
<div id="basic">
<form id="prove" name="prove">
<table cellpadding="0" cellspacing="0" class="approve_table">
    <tbody>
    <tr>
        <td align="right" class="approve_table_name"><span class="star">*</span>企业名称：</td>
        <td>
            <input type="text" class="fl required space isLengthOf" v_maxlength="20" v_minlength="2"
                   requiredmsg="请填写公司名称"
                   spacemsg="公司名称只支持汉字" isLengthOfmsg="最少2个汉字，最多20个汉字" id="entNamePrefix" onkeyup="toBusiAcctName()"
                   onchange="toBusiAcctName()" style="margin-right:18px;"/>
            <select name="" id="entNameSuffix" class="comSelect required" requiredmsg="请选择公司名称组织形式"/>
            <option value="有限公司">有限公司</option>
            <option value="责任有限公司">责任有限公司</option>
            <option value="网络科技有限公司">网络科技有限公司</option>
            <option value="股份公司">股份公司</option>
            <option value="股份有限公司">股份有限公司</option>
            </select>
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="star">*</span>注册资本：</td>
        <td>
            <input type="text" id="registeredCapital" class="required forallInt isSizeOf"
                   onblur="checkLength(this);"/><span style="color:#333;padding-left: 5px;">万元</span>
            <!-- v_minlength="3" v_maxlength="9999999" -->
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="star">*</span>企业注册地址：</td>
        <td>
            <select name="" id="bigCompareAddr" class="comSelect1 required" unionSel="midCompareAddr,smallCompareAddr"
                    codeSel="dictTreeCode" textSel="dictTreeName" style="width: 100px;">
                <option value="">请选择</option>
            </select>
            <select name="" id="midCompareAddr" class="comSelect1 required" unionSel="smallCompareAddr"
                    codeSel="dictTreeCode" textSel="dictTreeName" style="width: 100px;">
                <option value="">请选择</option>
            </select>
            <select name="" id="smallCompareAddr" class="comSelect1 required" codeSel="dictTreeCode"
                    textSel="dictTreeName" style="width: 100px;">
                <option value="">请选择</option>
            </select>

            <input type="text" style="width:270px;float: left;" id="regAddress"
                   class="required isLengthOf numLetterChinese" v_maxlength="30" v_minlength="1"
                   isLengthOfmsg="最多30个字"/>
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="star">*</span>法人姓名：</td>
        <td><input type="text" id="legalPerson" class="required  space isLengthOf" v_maxlength="10" v_minlength="2"
                   isLengthOfmsg="长度必须在2~10位之间" onblur="trimNameSpace(this)"/></td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name"><span class="star">*</span>法人身份证：</td>
        <td>
            <div class="divStyle">
                <div class="comUpload comUploadAfter" id="legalPersonCertUrl" style="display:table;">
                    <i></i><b>上传图片</b>
                    <img id="uploadImg"
                         src=""
                         alt="" class="comShowImg requiredUploadImg" style="max-height: 79px; max-width: 79px;">

                    <p id="uploadBtn" class="uploadBtn">上传
                        <a href="javascript:;" class="comLine"></a>
                        <span class="deleteImg">删除</span>
                    </p>
                </div>
            </div>
            <span class="geshi">（法人身份证正反面复印件）</span>
        </td>
    </tr>
    </tbody>
</table>
<div class="line line1">
    <div class="line_bg"></div>
    <div class="line_left"></div>
    <div class="line_right"></div>
</div>
<table cellpadding="0" cellspacing="0" class="approve_table">
    <tbody>
    <tr>
        <td valign="top" align="right" class="approve_table_name"><span class="star">*</span>营业执照：</td>
        <td>
            <div class="divStyle">
                <div class="comUpload comUploadAfter" id="busiLicense" style="display:table;">
                    <i></i><b>上传图片</b>
                    <img id="uploadImg"
                         src=""
                         alt="" class="comShowImg requiredUploadImg" style="max-height: 79px; max-width: 79px;">

                    <p id="uploadBtn" class="uploadBtn">上传
                        <a href="javascript:;" class="comLine"></a>
                        <span class="deleteImg">删除</span>
                    </p>
                </div>
            </div>

            <span class="geshi">（请上传营业执照或三证合一复印件）</span>

        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="star">*</span>营业执照注册号：</td>
        <td>
            <input type="text" style="width:294px;" id="busiLicense_authenFileNo"
                   class="required numOrLetter isLengthOf" v_maxlength="18" v_minlength="15"
                   isLengthOfmsg="营业执照号最低15位数最高18位"/>
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="star">*</span>营业执照有效期：</td>
        <td>
            <input class="Wdate fl required compareNowDate" type="text" onFocus="WdatePicker()" id="busiLicense_expTime"
                   readonly style="width:164px;"/>
        </td>
    </tr>
    <tr>
        <td align="right" valign="top" class="approve_table_name"><span class="star">*</span>营业执照经营范围：</td>
        <td style="position:relative">
            <textarea name="" style="width:606px;height:134px;border:1px solid #ccc;overflow-y:hidden;"
                      id="busiLicense_authenContent" class="required isLengthOf haveEnter" v_maxlength="300"
                      v_minlength="0"></textarea>

            <p style="position:absolute;left:530px;bottom:20px;line-height:20px;color:#999">还可输入<span id="textLength1">300</span>字
            </p>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name"><span class="star">*</span>企业税务登记证：</td>
        <td>
            <div class="divStyle">
                <div class="comUpload comUploadAfter" id="taxLicense" style="display:table;">
                    <i></i><b>上传图片</b>
                    <img id="uploadImg"
                         src=""
                         alt="" class="comShowImg requiredUploadImg" style="max-height: 79px; max-width: 79px;">

                    <p id="uploadBtn" class="uploadBtn">上传
                        <a href="javascript:;" class="comLine"></a>
                        <span class="deleteImg">删除</span>
                    </p>
                </div>
            </div>
            <span class="geshi">（请上传税务登记证或者三证合一证件）</span>
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="star">*</span>税务登记证号：</td>
        <td>
            <input type="text" style="width:180px;" id="taxLicense_authenFileNo" class="required numOrLetter isLengthOf"
                   v_maxlength="18" v_minlength="15" isLengthOfmsg="最低15位数最高18位"/><span
                style="padding-left: 5px;">号</span>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name"><span class="star">*</span>组织机构代码证：</td>
        <td>
            <div class="divStyle">
                <div class="comUpload comUploadAfter" id="codeLicense" style="display:table;">
                    <i></i><b>上传图片</b>
                    <img id="uploadImg"
                         src=""
                         alt="" class="comShowImg requiredUploadImg" style="max-height: 79px; max-width: 79px;">

                    <p id="uploadBtn" class="uploadBtn">上传
                        <a href="javascript:;" class="comLine"></a>
                        <span class="deleteImg">删除</span>
                    </p>
                </div>
            </div>

            <span class="geshi">（请上传组织机构代码证或三证合一证件）</span>
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="star">*</span>组织机构代码证有效期：</td>
        <td>
            <input class="Wdate fl required compareNowDate" type="text" onFocus="WdatePicker()" id="codeLicense_expTime"
                   readonly style="width:164px;"/>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name"><span class="star">*</span>一般纳税人资格证：</td>
        <td>
            <div class="divStyle">
                <div class="comUpload comUploadAfter" id="taxpayerLicense" style="display:table;">
                    <i></i><b>上传图片</b>
                    <img id="uploadImg"
                         src=""
                         alt="" class="comShowImg requiredUploadImg" style="max-height: 79px; max-width: 79px;">

                    <p id="uploadBtn" class="uploadBtn">上传
                        <a href="javascript:;" class="comLine"></a>
                        <span class="deleteImg">删除</span>
                    </p>
                </div>
            </div>

            <span class="geshi">（请上传一般纳税人资格证复印件）</span>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name"><span class="star">*</span>开户银行许可证：</td>
        <td>
            <div class="divStyle">
                <div class="comUpload comUploadAfter" id="bankLicense" style="display:table;">
                    <i></i><b>上传图片</b>
                    <img id="uploadImg"
                         src=""
                         alt="" class="comShowImg requiredUploadImg" style="max-height: 79px; max-width: 79px;">

                    <p id="uploadBtn" class="uploadBtn">上传
                        <a href="javascript:;" class="comLine"></a>
                        <span class="deleteImg">删除</span>
                    </p>
                </div>
            </div>

            <span class="geshi">（请上传开户银行许可证复印件）</span>
        </td>
    </tr>
    </tbody>
</table>
<div class="line1">
    <div class="line_bg"></div>
    <div class="line_left"></div>
    <div class="line_right"></div>
</div>
<table cellpadding="0" cellspacing="0" class="approve_table">
    <tbody>
    <tr>
        <td width="130" align="right" class="approve_table_name"><span class="red">*</span>对公账户名：</td>
        <td id="busiAcctName">
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="red">*</span>对公银行账号：</td>
        <td>
            <input type="text" id="busiAcctNo" value="" class="required for0_9 isLengthOf" v_maxlength="22"
                   v_minlength="12" isLengthOfmsg="请输入正确的对公银行账户"/>
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="red">*</span>开户银行：</td>
        <td>
            <select name="" class="comSelect2 required" id="bankName" style="width: 265px;">
                <option value="">请选择</option>
            </select>
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="red">*</span>开户地点：</td>
        <td>
            <select name="" id="bigAccountAddr" class="comSelect1 required" unionSel="midAccountAddr,smallAccountAddr"
                    codeSel="dictTreeCode" textSel="dictTreeName" style="width: 100px;">
                <option value="">请选择</option>
            </select>
            <select name="" id="midAccountAddr" class="comSelect1 required" unionSel="smallAccountAddr"
                    codeSel="dictTreeCode" textSel="dictTreeName" style="width: 100px;">
                <option value="">请选择</option>
            </select>
            <select name="" id="smallAccountAddr" class="comSelect1 required" codeSel="dictTreeCode"
                    textSel="dictTreeName" style="width: 100px;">
                <option value="">请选择</option>
            </select>
    </tr>
    <tr>
        <td width="130" align="right" class="approve_table_name"><span class="red">*</span>开户银行网点：</td>
        <td>
            <input type="text" value="" id="bankBranchName" class="required numLetterChinese isLengthOf"
                   v_maxlength="30" v_minlength="1" isLengthOfmsg="最多30个字"/>
        </td>
    </tr>
    </tbody>
</table>
<div class="line1">
    <div class="line_bg"></div>
    <div class="line_left"></div>
    <div class="line_right"></div>
</div>
<table cellpadding="0" cellspacing="0" class="approve_table">
    <tbody>
    <tr>
        <td width="130" align="right" class="approve_table_name"><span class="red">*</span>联系人：</td>
        <td>
            <input type="text" value="" id="contactName" class="required space isLengthOf" v_maxlength="10"
                   v_minlength="2" onblur="trimNameSpace(this)" isLengthOfmsg="最多输入10个字，最低2个字"/>
        </td>
    </tr>
    <tr>
        <td width="130" align="right" class="approve_table_name">授权证书：</td>
        <td>
            <div class="comUpload comUploadAfter" id="grantCertUrl" style="display:table;">
                <i></i><b>上传图片</b>
                <img id="uploadImg"
                     src=""
                     alt="" class="comShowImg" style="max-height: 79px; max-width: 79px;">

                <p id="uploadBtn" class="uploadBtn">上传
                    <a href="javascript:;" class="comLine"></a>
                    <span class="deleteImg">删除</span>
                </p>
            </div>
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="red">*</span>固定电话：</td>
        <td>
                  <span>
                  <input type="text" value="" style="width: 50px" id="contactTel1" class="required for0_9 isDigLengthOf"
                         v_maxlength="4" v_minlength="3" isLengthOfmsg="长度必须在3~4位之间"/>
                    </span>
                  <span>
                  <input type="text" value="" style="width: 100px" id="contactTel2"
                         class="required for0_9 isDigLengthOf" v_maxlength="8" v_minlength="7"
                         isLengthOfmsg="长度必须在7~8位之间"/></span>
            <input type="text" value="" style="width: 50px" id="contactTel3" class="isDigLengthOf"/>
            <label style="color:#999;">(分机号可以为空)</label>
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="red">*</span>联系人手机号：</td>
        <td>
            <input type="text" value="" id="mobilePhone" class="required for0_9 allCellPhone"/>
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="red">*</span>联系人地址：</td>
        <td>
            <select name="" id="bigPersonAddr" class="comSelect1 required" unionSel="midPersonAddr,smallPersonAddr"
                    codeSel="dictTreeCode" textSel="dictTreeName" style="width: 80px;">
                <option value="">请选择</option>
            </select>
            <select name="" id="midPersonAddr" class="comSelect1 required" unionSel="smallPersonAddr"
                    codeSel="dictTreeCode" textSel="dictTreeName" style="width: 80px;">
                <option value="">请选择</option>
            </select>
            <select name="" id="smallPersonAddr" class="comSelect1 required" codeSel="dictTreeCode"
                    textSel="dictTreeName" style="width: 80px;">
                <option value="">请选择</option>
            </select>
            <input type="text" value="" id="contactAddress" class="fl required numLetterChinese isLengthOf"
                   v_maxlength="30" v_minlength="1" isLengthOfmsg="长度必须在1~30位之间"/>
        </td>
    </tr>
    </tbody>
</table>
<div class="line line1">
    <div class="line_bg"></div>
    <div class="line_left"></div>
    <div class="line_right"></div>
</div>
<div class="qrtj">
    <input type="button" value="确定" class="button" onclick="">
</div>
</form>
</div>
<div id="qualified" style="display: none;">
<form id="quali" name="quali">
<table cellpadding="0" id="baseBrand" cellspacing="0" class="approve_table" style="margin-top:10px;">
    <tr>
        <td width="130" align="right" class="approve_table_name"><span class="star">*</span>品牌名称（中文）：</td>
        <td>
                                <span>
                                     <input type="text" value="" id="brandCnName" style="width: 294px"
                                            class="required space isLengthOf" v_maxlength="10" v_minlength="1"
                                            isLengthOfmsg="最高10个汉字，最低1个汉字"/>
                                </span>

        </td>
    </tr>
    <tr>
        <td width="130" align="right" class="approve_table_name"><span class="star">*</span>品牌名称（英文）：</td>
        <td>
                                <span>
                                    <input type="text" id="brandEnName" style="width:294px;"
                                           class="required numOrLetter isLengthOf" v_maxlength="20" v_minlength="1"
                                           isLengthOfmsg="最高20个字,最低1个字"/>
                                </span>

        </td>
    </tr>
    <tr>
        <td width="130" align="right" class="approve_table_name"><span class="star">*</span>品牌类型：</td>
        <td>
            <select name="" id="brandType" class="comSelect1 required">
                <option value="">请选择</option>
            </select>
        </td>
    </tr>
    <tr>
        <td width="130" align="right" class="approve_table_name"><span class="star">*</span>品牌方式：</td>
        <td>
            <select name="" id="brandMode" class="comSelect1 required">
                <option value="">请选择</option>
            </select>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name"><span class="star">*</span>商标注册证：</td>
        <td>
            <div class="divStyle">
                <div class="comUpload comUploadAfter" id="trademarkLicense" style="display:table;">
                    <i></i><b>上传图片</b>
                    <img id="uploadImg"
                         src=""
                         alt="" class="comShowImg requiredUploadImg" style="max-height: 79px; max-width: 79px;">

                    <p id="uploadBtn" class="uploadBtn">上传
                        <a href="javascript:;" class="comLine"></a>
                        <span class="deleteImg">删除</span>
                    </p>
                </div>
            </div>
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="star">*</span>商标注册证有效期：</td>
        <td>
            <input class="Wdate fl compareNowDate required" type="text" onFocus="WdatePicker()"
                   id="trademarkLicense_expTime" readonly style="width:164px;"/>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name">委托代加工协议：</td>
        <td>
            <div class="comUpload comUploadAfter" id="oemLicense" style="display:table;">
                <i></i><b>上传图片</b>
                <img id="uploadImg"
                     src=""
                     alt="" class="comShowImg" style="max-height: 79px; max-width: 79px;">

                <p id="uploadBtn" class="uploadBtn">上传
                    <a href="javascript:;" class="comLine"></a>
                    <span class="deleteImg">删除</span>
                </p>
            </div>
            <div class="comUpload comUploadAfter" id="templateOemLicense" style="display: none !important;">
                <i></i><b>上传图片</b>
                <img id="uploadImg"
                     src=""
                     alt="" class="comShowImg" style="max-height: 79px; max-width: 79px;">

                <p id="uploadBtn" class="uploadBtn">上传
                    <a href="javascript:;" class="comLine"></a>
                    <span class="deleteImg">删除</span>
                </p>
            </div>
            <span class="geshi" style="margin-top: 16px;"><a href="javascript:;" class="btn" id="addOemLicense">添加</a>（商标持有人委托其他生产企业加工其品牌商品的协议）</span>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name"><span class="star">*</span>平台销售的授权书：</td>
        <td>
            <div class="divStyle">
                <div class="comUpload comUploadAfter" id="saleLicense" style="display:table;">
                    <i></i><b>上传图片</b>
                    <img id="uploadImg"
                         src=""
                         alt="" class="comShowImg requiredUploadImg" style="max-height: 79px; max-width: 79px;">

                    <p id="uploadBtn" class="uploadBtn">上传
                        <a href="javascript:;" class="comLine"></a>
                        <span class="deleteImg">删除</span>
                    </p>
                </div>
            </div>
            <span class="geshi">（商标持有人委托生产企业在恩牛平台销售商品的授权书）</span>
        </td>
    </tr>
</table>
<table cellpadding="0" id="templateBrand" style="display:none;" cellspacing="0" class="approve_table"
       style="margin-top:10px;">
    <tr>
        <td colspan="2" align="right">
            <a href="javascript:;" class="brandDel btn" id="deleteBrandItem">删除</a>
        </td>
    </tr>
    <tr>
        <td width="130" align="right" class="approve_table_name"><span class="star">*</span>品牌名称（中文）：</td>
        <td>
                                <span>
                                    <input type="text" value="" id="brandCnName" style="width: 294px"
                                           class="space isLengthOf" v_maxlength="10" v_minlength="1"
                                           isLengthOfmsg="最高10个汉字，最低1个汉字"/>
                                </span>

        </td>
    </tr>
    <tr>
        <td width="130" align="right" class="approve_table_name"><span class="star">*</span>品牌名称（英文）：</td>
        <td>
                                <span>
                                    <input type="text" id="brandEnName" style="width:294px;"
                                           class="numOrLetter isLengthOf" v_maxlength="20" v_minlength="1"
                                           isLengthOfmsg="最高20个字，最低1个字"/>
                                </span>

        </td>
    </tr>
    <tr>
        <td width="130" align="right" class="approve_table_name"><span class="star">*</span>品牌类型：</td>
        <td>
            <select name="" id="brandType" class="comSelect1">
                <option value="">请选择</option>
            </select>
        </td>
    </tr>
    <tr>
        <td width="130" align="right" class="approve_table_name"><span class="star">*</span>品牌方式：</td>
        <td>
            <select name="" id="brandMode" class="comSelect1">
                <option value="">请选择</option>
            </select>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name"><span class="star">*</span>商标注册证：</td>
        <td>
            <div class="divStyle">
                <div class="comUpload comUploadAfter" id="trademarkLicense" style="display:table;">
                    <i></i><b>上传图片</b>
                    <img id="uploadImg"
                         src=""
                         alt="" class="comShowImg" style="max-height: 79px; max-width: 79px;">

                    <p id="uploadBtn" class="uploadBtn">上传
                        <a href="javascript:;" class="comLine"></a>
                        <span class="deleteImg">删除</span>
                    </p>
                </div>
            </div>
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="star">*</span>商标注册证有效期：</td>
        <td>
            <input class="Wdate fl compareNowDate" type="text" onFocus="WdatePicker()" id="trademarkLicense_expTime"
                   readonly style="width:164px;"/>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name">委托代加工协议：</td>
        <td>
            <div class="comUpload comUploadAfter" id="oemLicense" style="display:table;">
                <i></i><b>上传图片</b>
                <img id="uploadImg"
                     src=""
                     alt="" class="comShowImg" style="max-height: 79px; max-width: 79px;">

                <p id="uploadBtn" class="uploadBtn">上传
                    <a href="javascript:;" class="comLine"></a>
                    <span class="deleteImg">删除</span>
                </p>
                <%--<a href="javascript:;" class="delImg">--%>
                <%--<img src="${URL_LIB}/static/account/certification/image/closed1.png" alt=""/>--%>
                <%--</a>--%>
            </div>
            <div class="comUpload comUploadAfter" id="templateOemLicense" style="display:none !important;">
                <i></i><b>上传图片</b>
                <img id="uploadImg"
                     src=""
                     alt="" class="comShowImg" style="max-height: 79px; max-width: 79px;">

                <p id="uploadBtn" class="uploadBtn">上传
                    <a href="javascript:;" class="comLine"></a>
                    <span class="deleteImg">删除</span>
                </p>
            </div>
            <span class="geshi" style="margin-top: 16px;"><a href="javascript:;" class="btn" id="addOemLicense">添加</a>（商标持有人委托其他生产企业加工其品牌商品的协议）</span>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name"><span class="star">*</span>平台销售的授权书：</td>
        <td>
            <div class="divStyle">
                <div class="comUpload comUploadAfter" id="saleLicense" style="display:table;">
                    <i></i><b>上传图片</b>
                    <img id="uploadImg"
                         src=""
                         alt="" class="comShowImg" style="max-height: 79px; max-width: 79px;">

                    <p id="uploadBtn" class="uploadBtn">上传
                        <a href="javascript:;" class="comLine"></a>
                        <span class="deleteImg">删除</span>
                    </p>
                </div>
            </div>

            <span class="geshi">（商标持有人委托生产企业在恩牛平台销售商品的授权书）</span>
        </td>
    </tr>
</table>
<div class="brandOperation">

    <a href="javascript:;" class="btn" id="addSaleLicense">+增加品牌</a>
</div>
<div class="line line1">
    <div class="line_bg"></div>
    <div class="line_left"></div>
    <div class="line_right"></div>
</div>
<table cellpadding="0" cellspacing="0" class="approve_table">
    <tbody>
    <tr>
        <td width="130" align="right" class="approve_table_name"><span class="star">*</span>是否是代加工：</td>
        <td>
            <label><input type="radio" name="isOemFlag" id="isOemFlagY" onclick="showOem();"
                          style="width:17px;height:17px;vertical-align: middle;margin-top: -1px;margin-right:3px;"/>是(代加工企业资质)</label>
            <label style="margin-left: 10px;"><input type="radio" id="isOemFlagN" onclick="hiddenOem();"
                                                     name="isOemFlag"
                                                     style="width:17px;height:17px;vertical-align: middle;margin-top: -1px;margin-right:3px;"/>否</label>
            <span id="isOemFlag_flag"></span>
        </td>
    </tr>
    </tbody>
</table>
<table cellpadding="0" cellspacing="0" class="approve_table" style="display: none;" id="oemMsg">
</table>
<div class="line line1">
    <div class="line_bg"></div>
    <div class="line_left"></div>
    <div class="line_right"></div>
</div>
<table cellpadding="0" cellspacing="0" class="approve_table">
    <tbody>
    <tr>
        <td width="130" align="right" class="approve_table_name"><span class="red">*</span>经营品类：</td>
        <td>
            <select class="comSelect2 required" style="width: 300px;" id="categoryName">
            </select>
        </td>
    </tr>
    <tr>
        <td width="130" align="right" class="approve_table_name" valign="top"><span class="red">*</span>请选择经营类目：</td>
        <td>
            <div class="chooseLm">
                <div class="clTop">
                    <i><img src="${ctx}/static/images/certification/search.png" alt=""></i>
                    <input type="text" placeholder="名称或首字母" class="search" id="catoryLvl1UlTxt"
                           onkeyup="filterLi('catoryLvl1Ul','categoryLvl1Name');">
                </div>
                <ul class="clBottom" id="catoryLvl1Ul">
                    <li id="templateCategoryLvl1Li" style="display:none"><label><input type="radio"
                                                                                       name="manageCategory"
                                                                                       id="radioCategory"><span
                            id="categoryLvl1Name"></span></label></li>
                </ul>
            </div>
            <div class="chooseLm">
                <div class="clTop">
                    <i><img src="${ctx}/static/images/certification/search.png" alt=""></i>
                    <input type="text" placeholder="名称或首字母" class="search" id="catoryLvl2UlTxt"
                           onkeyup="filterLi('catoryLvl2Ul','categoryLvl2Name');">
                </div>
                <ul class="clBottom" id="catoryLvl2Ul">
                    <li id="templateCatoryLvl2Li" style="display:none"><label><input type="checkbox"
                                                                                     id="chkCategory"><span
                            id="categoryLvl2Name">露营装备</span></label></li>
                </ul>
            </div>
        </td>
    </tr>
    <tr>
        <td width="130" align="right" class="approve_table_name" valign="top"><span class="red">*</span>所选类目：</td>
        <td>
            <ul class="hasChoL">
                <li id="templateSelCategoryLi" style="display:none;">
                    <span id="selCategoryName"></span>
                    <a href="javascript:;"><img id="delSelCategoryName"
                                                src="${ctx}/static/images/certification/proveDlete.png"
                                                height="12" width="11" alt=""></a>
                </li>

            </ul>
        </td>
    </tr>
    </tbody>
</table>
<div class="line1">
    <div class="line_bg"></div>
    <div class="line_left"></div>
    <div class="line_right"></div>
</div>
<table cellpadding="0" cellspacing="0" class="otherZz">
    <tbody>
    <tr>
        <td width="130" align="right" class="approve_table_name" valign="top"><span class="red">*</span>其他资质：</td>
        <td>
            <p class="text-l">请查看</p>
            <table cellpadding="0" cellspacing="0" class="ozDeatil" id="entCategoryAptitudeList">
                <tr>
                    <th width="145">所属类目</th>
                    <th width="210">资质名称</th>
                    <th width="280">图片上传</th>
                    <th width="205
                                            ">有效日期
                    </th>
                </tr>
                <tr id="templateCategoryAptitudeRow" style="display:none;">
                    <td class="text-c" id="entBusiCategory">
                        <!--span class="sslm">游泳用品</span-->
                    </td>
                    <td id="aptitudeName">
                        工业生产许可证
                    </td>
                    <td class="text-c" style="line-height:18px;" id="entBusiAptitudeFileList">
                        <div style="float:left;margin:2px 0 0 0px;display:none;" id="templateEntBusiAptitudeFile">
                            <div class="comUpload comUploadAfter">
                                <i></i><b>上传图片</b>
                                <img id="uploadImg"
                                     src=""
                                     alt="" class="comShowImg" style="max-height: 79px; max-width: 79px;">

                                <p id="uploadBtn" class="uploadBtn">上传
                                    <a href="javascript:;" class="comLine"></a>
                                    <span class="deleteImg">删除</span>
                                </p>
                            </div>
                        </div>
                    </td>
                    <td>
                        <input class="Wdate fl compareNowDate" type="text" readOnly
                               onFocus="WdatePicker()" id="entBusiAptitudeFile_expTime" onchange="changePermanent(this)"
                               style="width:125px;height:38px;padding:0 5px;margin-left:5px;border:1px solid #ccc"/>
                        <label id="isPermanentLabel"><input type="checkbox" id="isPermanent"
                                                            onchange="changeExpTime(this)">永久</label>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    </tbody>
</table>
<!-- 确认提交-->

<div class="qrtj">
    <input type="hidden" name="qyxieyi" id="qyxieyi">
    <!-- <p><input type="checkbox" name="qyxieyi" id="qyxieyi"  style="vertical-align:middle"><a href="javascript:agreement();;" class="yhxy blueLine">《平台服务协议》</a></p> -->
    <input type="button" value="上一步" class="button" onclick="previous();">&nbsp;<input type="button" value="提交"
                                                                                       class="submit"
                                                                                       onclick="onSave();">
</div>
</form>
</div>

</div>

</div>
</div>
</div>

<table id="oemMsg_div" style="display:none;">
    <tr>
        <td></td>
        <td>
            <p class="red">
                请上传代加工企业的五证。
            </p>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name"><span class="star">*</span>营业执照：</td>
        <td>
            <div class="divStyle">
                <div class="comUpload comUploadAfter" id="oemBusiLicense" style="display:table;">
                    <i></i><b>上传图片</b>
                    <img id="uploadImg"
                         src=""
                         alt="" class="comShowImg requiredUploadImg" style="max-height: 79px; max-width: 79px;">

                    <p id="uploadBtn" class="uploadBtn">上传
                        <a href="javascript:;" class="comLine"></a>
                        <span class="deleteImg">删除</span>
                    </p>
                </div>
            </div>

            <span class="geshi">（请上传营业执照或三证合一复印件）</span>
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="star">*</span>营业执照注册号：</td>
        <td>
            <input type="text" style="width:294px;" id="oemBusiLicense_authenFileNo"
                   class="required numOrLetter isLengthOf" v_maxlength="18" v_minlength="15"
                   isLengthOfmsg="营业执照号最低15位数最高18位"/>
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="star">*</span>营业执照有效期：</td>
        <td>
            <input class="Wdate fl required compareNowDate" type="text" onFocus="WdatePicker()"
                   id="oemBusiLicense_expTime" readonly style="width:164px;"/>
        </td>
    </tr>
    <tr>
        <td align="right" valign="top" class="approve_table_name"><span class="star">*</span>营业执照经营范围：</td>
        <td style="position:relative">
            <textarea name="" style="width:606px;height:134px;border:1px solid #ccc;overflow-y:hidden;"
                      id="oemBusiLicense_authenContent" class="required isLengthOf haveEnter" v_maxlength="300"
                      v_minlength="0" isLengthOfmsg="长度必须在1~300位之间"></textarea>

            <p style="position:absolute;left:530px;bottom:20px;line-height:20px;color:#999">还可输入<span id="textLength2">300</span>字
            </p>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name"><span class="star">*</span>企业税务登记证：</td>
        <td>
            <div class="divStyle">
                <div class="comUpload comUploadAfter" id="oemTaxLicense" style="display:table;">
                    <i></i><b>上传图片</b>
                    <img id="uploadImg"
                         src=""
                         alt="" class="comShowImg requiredUploadImg" style="max-height: 79px; max-width: 79px;">

                    <p id="uploadBtn" class="uploadBtn">上传
                        <a href="javascript:;" class="comLine"></a>
                        <span class="deleteImg">删除</span>
                    </p>
                </div>
            </div>

            <span class="geshi">（请上传税务登记证或者三证合一证件）</span>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name"><span class="star">*</span>组织机构代码证：</td>
        <td>
            <div class="divStyle">
                <div class="comUpload comUploadAfter" id="oemCodeLicense" style="display:table;">
                    <i></i><b>上传图片</b>
                    <img id="uploadImg"
                         src=""
                         alt="" class="comShowImg requiredUploadImg" style="max-height: 79px; max-width: 79px;">

                    <p id="uploadBtn" class="uploadBtn">上传
                        <a href="javascript:;" class="comLine"></a>
                        <span class="deleteImg">删除</span>
                    </p>
                </div>
            </div>

            <span class="geshi">（请上传组织机构代码证或三证合一证件）</span>
        </td>
    </tr>
    <tr>
        <td align="right" class="approve_table_name"><span class="star">*</span>组织机构代码证有效期：</td>
        <td>
            <input class="Wdate fl required compareNowDate" type="text" onFocus="WdatePicker()"
                   id="oemCodeLicense_expTime" readonly style="width:164px;"/>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name"><span class="star">*</span>一般纳税人资格证：</td>
        <td>
            <div class="divStyle">
                <div class="comUpload comUploadAfter" id="oemTaxpayerLicense" style="display:table;">
                    <i></i><b>上传图片</b>
                    <img id="uploadImg"
                         src=""
                         alt="" class="comShowImg requiredUploadImg" style="max-height: 79px; max-width: 79px;">

                    <p id="uploadBtn" class="uploadBtn">上传
                        <a href="javascript:;" class="comLine"></a>
                        <span class="deleteImg">删除</span>
                    </p>
                </div>
            </div>

            <span class="geshi">（请上传一般纳税人资格证复印件）</span>
        </td>
    </tr>
    <tr>
        <td valign="top" align="right" class="approve_table_name"><span class="star">*</span>开户银行许可证：</td>
        <td>
            <div class="divStyle">
                <div class="comUpload comUploadAfter" id="oemBankLicense" style="display:table;">
                    <i></i><b>上传图片</b>
                    <img id="uploadImg"
                         src=""
                         alt="" class="comShowImg requiredUploadImg" style="max-height: 79px; max-width: 79px;">

                    <p id="uploadBtn" class="uploadBtn">上传
                        <a href="javascript:;" class="comLine"></a>
                        <span class="deleteImg">删除</span>
                    </p>
                </div>
            </div>

            <span class="geshi">（请上传开户银行许可证复印件）</span>
        </td>
    </tr>
</table>

<div id="drag" class="popup" style="display:none;z-index:1000;">
    <div class="title" style="height:54px;background:none;">
        <h1 style="text-align: center;font-size: 18px;line-height:54px;height:54px;">平台服务协议</h1>

        <div>
            <a class="min" href="javascript:;" title="最小化" style="display:none;"></a>
            <a class="max" href="javascript:;" title="最大化" style="display:none;"></a>
            <a class="revert" href="javascript:;" title="还原" style="display:none;"></a>
            <a class="close" href="javascript:;" title="关闭" style="display:none;"></a>
        </div>
    </div>
    <div class="content">
        <div class="main" style="padding:0 30px;">
            <div class="cell"
                 style="text-align: left;width: 765px;height:350px;float: left;line-height:22px;color:#333">
                <div class="div_scroll">
                    <div style="margin-top:-12px; float:left; height:auto; width:auto">
                        <p style="padding-bottom:12px;">
                            合同签订前审计是合同审计的重点和关键，因为合同签订过程中的任何疏漏或失误，都有可能给企业造成损失或带来风险。对于重要的合同，内部审计机构应当及时掌握情况，加强全过程监督。合同签订前审计的主要内容包括:</p>

                        <p style="padding-bottom:12px;">1、审查签订合同的必要性。主要审查合同内容是否符合企业目标，合同项目是否列入企业的计划，是否已安排了相应的财务预算。</p>

                        <p style="padding-bottom:12px;">
                            2、审查合同的合法性、合规性和合理性。主要审查合同是否符合国家法律法规和规范性文件的规定，是否违反国家利益或者社会公共利益；审查合同是否符合本企业的规章制度要求，履行该合同是否给本企业带来预期利益；审查对方的主体资格是否合法，签订合同的当事人是否有签订该合同的权利，对方是否有履行该合同的能力和诚意，选择对方签订合同的理由是否充分。</p>

                        <p style="padding-bottom:12px;">
                            3、审查合同条款的真实性和完整性。合同条款的完整性，主要审查是否符合合同法的规定(具体内容包括当事人的名称或姓名和住所、标的名称、标的数量质量、价款或者报酬、履行期限地点方式、违约责任、解决争议方法等是否完整)；合同条款是否规范、用词是否准确。合同条款的真实性，审查是对标的数量、质量、价款等重要条款除了审查形式上的完整性还要审查其真实性、合理性，如合同当事人的信誉、经营范围、履约能力、售后服务；合同的内容是否可行，是否经过单位相关部门的论证。</p>

                        <p>4、审查合同在企业内部是否经过相关部门的会签，拟签订合同的人是否得到适当的授权，合同拟盖公章是否符合企业的规定。</p>
                    </div>
                </div>
            </div>
            <div class="btn" style="font-size:0;">
                <a href="javascript:" class="btnSecond btnStyle5_1 margR15 margT30"
                   onclick="history.go(-1);closePopupWin();">不同意</a>
                <a href="javascript:" class="btnOne btnStyle5 margT30" id="sure"
                   onclick="document.getElementById('qyxieyi').value='1';closePopupWin();">同意</a>
            </div>
        </div>
    </div>
</div>
<script src="${ctx}/static/pc/jsmin/jquery.js?1.12.4" type="text/javascript"></script>
<script src="${ctx}/static/lib/chosen/chosen.jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
    $(function () {


        $('.comSelect1').chosen({
            //disable_search_threshold: 5,
            no_results_text: "没有匹配结果!",
            width: "92px",
            disable_search: true,
            enable_split_word_search: false,
            placeholder_text_single: '请选择'
        });
        $('.comSelect2').chosen({
            //disable_search_threshold: 5,
            no_results_text: "没有匹配结果!",
            width: "265px",
            disable_search: true,
            enable_split_word_search: false,
            placeholder_text_single: '请选择'
        });
        $('.comSelect').chosen({
            //disable_search_threshold: 5,
            no_results_text: "没有匹配结果!",
            width: "200px",
            disable_search: true,
            enable_split_word_search: false,
            placeholder_text_single: '请选择'
        });

        /*企业名称*/
        $('.comNameSelect').chosen({
            //disable_search_threshold: 5,
            no_results_text: "没有匹配结果!",
            width: "290px",
            disable_search: true,
            enable_split_word_search: false,
            placeholder_text_single: '请选择'
        });
        $('.comNameSelect').trigger('chosen:updated');
        $('#busiLicense_authenContent').keyup(function () {  //输入字符后键盘up时触发事件
            var txtLeng = $('#busiLicense_authenContent').val().length;      //把输入字符的长度赋给txtLeng
            if (txtLeng > 300) {
                $('#textLength1').text('0');
                var fontsize = $('#busiLicense_authenContent').val().substring(0, 300);
                $('#busiLicense_authenContent').val(fontsize);
            } else {
                $('#textLength1').text(300 - txtLeng);
            }
        });
        $('#oemBusiLicense_authenContent').keyup(function () {  //输入字符后键盘up时触发事件
            var txtLeng = $('#oemBusiLicense_authenContent').val().length;      //把输入字符的长度赋给txtLeng
            if (txtLeng > 300) {
                $('#textLength2').text('0');
                var fontsize = $('#oemBusiLicense_authenContent').val().substring(0, 300);
                $('#oemBusiLicense_authenContent').val(fontsize);
            } else {
                $('#textLength2').text(300 - txtLeng);
            }
        });
    })
</script>
</body>
</html>